-- GENERATED SPELL FOR [Screeching Windcaller] --


function spell0_4104(pUnit, Event) --@Gust of Wind,Self--
pUnit:FullCastSpellOnTarget(6982,pUnit)
pUnit:RegisterEvent('Sorts_4104', 6000, 1)
end

function Sorts_4104(pUnit, Event)
local choix_sorts_4104 = math.random(0, 0)
if choix_sorts_4104 == 0 then
pUnit:RegisterEvent('spell0_4104', 1, 1)
end
end

function mob4104_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4104', math.random(1500, 3000), 1)
end

function mob4104_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4104_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4104_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4104, 1, 'mob4104_Action')
RegisterUnitEvent(4104, 2, 'mob4104_Leave')
RegisterUnitEvent(4104, 3, 'mob4104_Kill')
RegisterUnitEvent(4104, 4, 'mob4104_Die')
